package net.wicp.tams.common.binlog.self.event;

import lombok.extern.slf4j.Slf4j;
import net.wicp.tams.common.Result;
import net.wicp.tams.common.binlog.self.bean.EventBean;
import net.wicp.tams.common.binlog.self.sender.ISender;

@Slf4j
public class StopEvent extends AbsEvent {

	public StopEvent(EventBean event) {
		super(event);
	}

	@Override
	public Result parseBody(ISender... senders) {
		log.info("此log文件【{}】已完成", event.getFileName());
		return Result.getSuc();
	}

}
